aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-07-23 22:03:21 +0100
committerMichael Williamson <mike@zwobble.org>2023-07-23 22:03:21 +0100
commit4faec7c2c180569a06a5023fc1bcb77812705672 (patch)
tree289c57965d0f5b0726d43ecb4bbf42a11deae08e /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent2fe51eb35031a9dd0c0b740fd893b9704614464e (diff)
Support int-ne in Patio code gen
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected19
1 files changed, 19 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
new file mode 100644
index 00000000..45699e36
--- /dev/null
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -0,0 +1,19 @@
+Compilation unit elements:
+
+
+Locals:
+ * ("tmp__0" int)
+ * ("tmp__1" int)
+
+Args:
+
+Instructions:
+
+(
+ (int-ne (local "tmp__1") (local "b") (local "c"))
+ (bool-to-int (local "tmp__0") (local "tmp__1"))
+)
+
+Temporary stack:
+ * tmp__0
+ * a